<div class="tableoptions">
                	<button onclick="window.location.href='<?php echo base_url() ?>admin/kategori_tambah'" class="deletebutton radius3" title="Tambah Kategori">Tambah Kategori</button> &nbsp;

                </div><!--tableoptions-->	
<table width="500px" cellpadding="0" cellspacing="0" border="0" class="stdtable">
                    <colgroup>
                        <col class="con0" />
                        <col class="con1" />
                        <col class="con0" />
                    </colgroup>
                    <thead>
  <tr>
    <td width="50px" align="left">No</td>
    <td width="350px" align="left">Nama Kategori</td>
    <td width="100px" align="left">Aksi</td>

  </tr>
                    </thead>
<?php $no=1; foreach ($homes as $hm): ?>
  <tr>
    <td width="50px" align="left"><?php echo $no++; ?></td>
    <td width="350px" align="left"><?php echo $hm->nama_kategori;?></td>
    <td width="100px" align="center"><a href="<?php echo base_url() ?>admin/kategori_edit/<?php echo $hm->id_kategori;?>" class="edit"><i class="fa fa-pencil fa-lg"></i></a> &nbsp;&#8212;&nbsp; <a href="<?php echo base_url() ?>admin/cproc_kategori_hapus/<?php echo $hm->id_kategori;?>" class="delete" onClick="return confirm('Apakah Anda Ingin menghapus data ini ?')"><i class="fa fa-minus-square fa-lg"></i></a></td>
  </tr>
<?php endforeach; ?> 
</table><br>
<center><?php echo $halaman;?></center>

